package com.java110.intf.cart;

import com.java110.intf.FeignConfiguration;
import com.java110.dto.mallReport.MallReportDto;
import com.java110.dto.mallReport.SellingCostDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @ClassName IStoreOrderInnerServiceSMO
 * @Description 购物车接口类
 * @Author wuxw
 * @Date 2019/4/24 9:04
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
@FeignClient(name = "mall-cart", configuration = {FeignConfiguration.class})
@RequestMapping("/storeStatisticsApi")
public interface IStoreStatisticsInnerServiceSMO {

    /**
     * <p>查询小区楼信息</p>
     * @param mallReportDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getInStockInfo", method = RequestMethod.POST)
    List<MallReportDto> getInStockInfo(@RequestBody MallReportDto mallReportDto);

    @RequestMapping(value = "/getInStockInfoCount", method = RequestMethod.POST)
    int getInStockInfoCount(@RequestBody  MallReportDto mallReportDto);
    
    /**
     * <p>查询小区楼信息</p>
     * @param mallReportDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getSalesInfo", method = RequestMethod.POST)
    List<MallReportDto> getSalesInfo(@RequestBody MallReportDto mallReportDto);

    @RequestMapping(value = "/getSalesInfoCount", method = RequestMethod.POST)
    int getSalesInfoCount(@RequestBody  MallReportDto mallReportDto);
    
    /**
     * <p>查询小区楼信息</p>
     * @param mallReportDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getInoutInfo", method = RequestMethod.POST)
    List<MallReportDto> getInoutInfo(@RequestBody MallReportDto mallReportDto);

    @RequestMapping(value = "/getInoutInfoCount", method = RequestMethod.POST)
    int getInoutInfoCount(@RequestBody  MallReportDto mallReportDto);
    /**
     * <p>查询小区楼信息</p>
     * @param mallReportDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getSalesRankingInfo", method = RequestMethod.POST)
    List<MallReportDto> getSalesRankingInfo(@RequestBody  MallReportDto mallReportDto);

    
    @RequestMapping(value = "/getSalesRankingInfoCount", method = RequestMethod.POST)
    int getSalesRankingInfoCount(@RequestBody  MallReportDto mallReportDto);

    /**
     * <p>查询小区楼信息</p>
     * @param sellingCostDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getSellingCost", method = RequestMethod.POST)
    List<SellingCostDto> getSellingCost(@RequestBody  SellingCostDto sellingCostDto);

    @RequestMapping(value = "/getSellingCostCount", method = RequestMethod.POST)
    int getSellingCostCount(@RequestBody SellingCostDto sellingCostDto);
    /**
     * <p>查询小区楼信息</p>
     * @param sellingCostDto 数据对象分享
     * @return StoreOrderDto 对象数据
     */
    @RequestMapping(value = "/getSellingCostDetail", method = RequestMethod.POST)
    List<SellingCostDto> getSellingCostDetail(@RequestBody  SellingCostDto sellingCostDto);


    @RequestMapping(value = "/getSellingCostDetailCount", method = RequestMethod.POST)
    int getSellingCostDetailCount(@RequestBody  SellingCostDto sellingCostDto);
}
